<%-- 
    Document   : phanquyen
    Created on : Sep 20, 2012, 11:43:49 AM
    Author     : Odotube
--%>

<%@page import="thitracnghiem.GiaoVien"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%@include file="/menuad.html"%>
        <%
            session = request.getSession();
            GiaoVien gv = (GiaoVien) session.getAttribute("gv");

             if (gv == null) {
             response.sendError(403);
             return;
             } else if (!gv.getUsername().equals("admin")) {
             response.sendError(403);
             return;
             }
            String s = request.getParameter("tb");
            if (s == null) {
                s = "";
            }
            out.println(s);
        %>
        <form action="/ThiTracNghiem/XuLy" method="post">
            <input type="hidden" name="yc" value="phanquyen">
            Username:<input type="text" name="username"><br>
            Phan quyen mon:<input type="text" name="phanquyenmon"><br>
            Phan quyen lop:<input type="text" name="phanquyenlop"><br>
            <input type="submit" value="OK">
        </form>
    </body>
</html>
